package com.example.day1210_section_information;

import com.example.day1210_section_information.slice.MainAbilitySlice;
import com.example.day1210_section_information.slice.NewsPageInfo;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.ability.fraction.FractionAbility;
import ohos.aafwk.content.Intent;

/**
 *
 * main 继承FractionAbility
 */
public class MainAbility extends FractionAbility {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        addActionRoute("NewsPageInfo",NewsPageInfo.class.getName());
    }
}
